package com.autumn.cloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-12-16 01:57
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
// 启用熔断
@EnableHystrix
@EnableFeignClients
public class GatewayStartup {

    public static void main(String[] args) {
        SpringApplication.run(GatewayStartup.class, args);
    }

}
